#ifndef SALEFECTORY_H
#define SALEFECTORY_H

#include"../poco/saleBase.h"

class SaleFectory
{
public:
    SaleFectory(){};
    virtual ~SaleFectory(){};
    virtual  SaleBase* CreateSale(int type);
};

class InitSaleFectory:public SaleFectory
{
public:
    InitSaleFectory(){}
    virtual ~InitSaleFectory(){}
    virtual SaleBase * CreateSale(int type);
};

#endif // SALEFECTORY_H
